package com.github.caijh.mall.front.service;

import java.util.HashMap;
import java.util.List;

import com.github.caijh.mall.common.PageParams;
import com.github.caijh.mall.front.response.IndexInfoResponse;
import com.github.caijh.mall.front.response.IndexProductBannerResponse;
import com.github.caijh.mall.wechat.model.WechatShareInfo;

/**
 * IndexService 接口
 * +----------------------------------------------------------------------
 * | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 * +----------------------------------------------------------------------
 * | Author: CRMEB Team <admin@crmeb.com>
 * +----------------------------------------------------------------------
 */
public interface IndexService {

    IndexProductBannerResponse getProductBanner(int type, PageParams pageParams);

    IndexInfoResponse getIndexInfo();

    List<HashMap<String, Object>> hotKeywords();

    WechatShareInfo getShareConfig();

}
